package com.ruoyi.teacher.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资料信息对象 teacher_information_detail
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public class TeacherInformationDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 关联系统用户id */
    @Excel(name = "关联系统用户id")
    private Long userId;

    /** 资料类别，分别表示学位证书、职称证书、职业资格证书、论文、专著、科研课题、教改课题、社会服务 */
    @Excel(name = "资料类别，分别表示学位证书、职称证书、职业资格证书、论文、专著、科研课题、教改课题、社会服务")
    private String informationCategory;

    /** 资料标题 */
    @Excel(name = "资料标题")
    private String title;

    /** 资料描述 */
    @Excel(name = "资料描述")
    private String description;

    /** 资料文件存储路径 */
    @Excel(name = "资料文件存储路径")
    private String filePath;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    /** 是否主持 */
    @Excel(name = "是否主持")
    private String isHost;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setInformationCategory(String informationCategory) 
    {
        this.informationCategory = informationCategory;
    }

    public String getInformationCategory() 
    {
        return informationCategory;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setIsHost(String isHost) 
    {
        this.isHost = isHost;
    }

    public String getIsHost() 
    {
        return isHost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("informationCategory", getInformationCategory())
            .append("title", getTitle())
            .append("description", getDescription())
            .append("filePath", getFilePath())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .append("isHost", getIsHost())
            .toString();
    }
}
